﻿#region Using Statements
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
using QuickGraph;
using QuickGraph.Serialization;
using System.Xml.Serialization;
#endregion

namespace SharedCongkak
{
    [XmlRootAttribute(ElementName = "Hole", IsNullable = false)]
    
    public class NullHole : AbstractHole
    {
        public NullHole()
        {

        }


        public override string ToString()
        {
            return String.Empty;
        }

        public override void LoadContent(ContentManager content)
        {

        }

        public override void Draw(SpriteBatch spriteBatch)
        {
            
        }


        public override void AddSeed(Seed seed)
        {
            
        }

        public override bool  ContainsPoint(Point point)
        {
 	         return false;
        }

        public override void  Highlight()
        {
 	         
        }

        public override void MouseClicked(int X, int Y)
        {
            
        }

        public override void MouseHover(int X, int Y)
        {
            
        }

        public override bool Equals(object obj)
        {
            return obj is NullHole;
        }


        
    }

    //public class HoleReader : ContentTypeReader<Hole>
    //{
    //    protected override Hole Read(
    //            ContentReader input,
    //            Hole existingInstance)
    //    {

    //        Vector2 position = input.ReadVector2();
    //        Hole hole = new Hole(input.ReadString());
    //        hole.Position = position;
    //        hole.IsHome = input.ReadBoolean();
    //        hole.LoadContent(input.ContentManager);
    //        return hole;
    //    }
    //}
}
